package com.cu.redission.config;

import org.redisson.Redisson;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.redisson.config.SingleServerConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Properties;

import static org.apache.naming.SelectorContext.prefix;

@Configuration
public class RedisConfig {

    @Bean
    public RedissonClient redisson() {
        return Redisson.create();
    }
}
